package com.junqson.je.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Descriptions 需要登陆
 * @Company
 * @Author Junqson
 * @Date 2020/1/30 13:18
 * @Version 1.0
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface LoginRequire {
    /**
     * 是否认证
     */
    boolean needAuth() default false;
}
